package com.mongo.config;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author xiazhun
 * @create 2022/9/23
 */

@Setter
@Getter
@ConfigurationProperties(prefix = "mongo")
public class MongoMapperProperties {

    /**
     * mapper层路径
     */
    private String mapperPath;

    /**
     * 是否开启
     */
    private boolean open = true;
}
